package com.blb.test.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.blb.test.entity.User;
import com.blb.test.mapper.UserMapper;
import com.blb.test.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private UserMapper userMapper;
	
	@Override
	public String test() {
		return "这是service";
	}

	@Override
	public List<User> getUsers() {
		return userMapper.selectUser();
	}

}
